﻿@model membershipTest.Models.RegisterModel
@{
    ViewBag.Title = "Register";
}
<hgroup class="title">
    <h2>@ViewBag.Title</h2>
</hgroup>

@using (Html.BeginForm())
{
  @Html.AntiForgeryToken()
  @Html.ValidationSummary()
    <fieldset>
        <legend>Register</legend>
        <ol>
            <li>
                @Html.LabelFor(m=>m.UserName)
                @Html.TextBoxFor(m=>m.UserName)
            </li>
            <li>
                @Html.LabelFor(m => m.Password)
                @Html.TextBoxFor(m => m.Password)
            </li>
            <li>
                @Html.LabelFor(m => m.ConfirmPassword)
                @Html.TextBoxFor(m => m.ConfirmPassword)
            </li>
        </ol>
        <input type="submit" value="Register  now"/>
    </fieldset>
}

